package org.bouncycastle.crypto.params;

import org.bouncycastle.math.ec.ECPoint;

/**
 * 椭圆曲线公钥参数
 * 
 * @author john.peng
 *
 */
public class ECPublicKeyParameters extends ECKeyParameters {
	ECPoint Q;

	/**
	 * 默认的构造函数
	 * 
	 * @param Q      q
	 * @param params ECDomainParameters
	 */
	public ECPublicKeyParameters(ECPoint Q, ECDomainParameters params) {
		super(false, params);
		this.Q = Q;
	}

	/**
	 * 获取q
	 * 
	 * @return q
	 */
	public ECPoint getQ() {
		return Q;
	}
}
